From 60c94987aab3141a19d735fbc003d5cb646a8502 Mon Sep 17 00:00:00 2001 From: Zheng Zhu Date: Wed, 22 Sep 2004 04:24:50 +0000 Subject: [PATCH] sending the content language code as Content-language --- includes/OutputPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 9c98a56782..dcfe19f2d1 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -348,7 +348,7 @@ class OutputPage { */ function output() { global $wgUser, $wgLang, $wgDebugComments, $wgCookieExpiration; - global $wgInputEncoding, $wgOutputEncoding, $wgLanguageCode; + global $wgInputEncoding, $wgOutputEncoding, $wgContLanguageCode; global $wgDebugRedirects, $wgMimeType, $wgProfiler; if( $this->mDoNothing ){ return; @@ -395,7 +395,7 @@ class OutputPage { $sk->postParseLinkColour( false ); header( "Content-type: $wgMimeType; charset={$wgOutputEncoding}" ); - header( 'Content-language: '.$wgLanguageCode ); + header( 'Content-language: '.$wgContLanguageCode ); $exp = time() + $wgCookieExpiration; foreach( $this->mCookies as $name => $val ) { -- 2.20.1